package dao;

import java.util.List;

import model.Manufacturer;

public interface IManufacturerDAO {
	public Manufacturer getManufacturerById(int id);

	public void addManuFacturer(final String u_id, final String name,
			final String description, final String address, final String tel,
			final String website);
	public List<String> getNameManufacturerMatched(String query);
	public List<Manufacturer> getAllManufacturer();
	public List<Manufacturer> getManuFactureByUId(String u_id);
	public void deleteManufacturer(final String id);
	public void deleteManufacturerByUID(final int id);
	public void updateManufacturer(
			final String name,
			final String description,
			final String address,
			final String tel,
			final String website,
			final String id
			);
	public List<String> getIdManufacturerViaName(final String name);
}
